const Guide01Mixin = {
  data() {
    return {
      children: [
        { title: '' }
      ]
    }
  },
  computed: {
    isFolder() {
      return this.children && this.children.length > 0
    },
  },
  mounted() {
    this.$nextTick(() => {
      const render = this.$options.render
      this.sendRender(render)
    })
  },
  methods: {
    sendRender(r) {
      if (r) {
        setTimeout(() => {
          this.$emit('r', r)
        }, 1);
      }
    },
  },
}

export default Guide01Mixin